package other;

public class CgLib {
    public static void main(String[] args) {
        B b = new B();
        b.sayHello();
    }
}

class A {

    protected void sayHello() {
        System.out.println("A hello");
    }
}

class B extends A {

    protected void sayHello() {
        super.sayHello();
        System.out.println("B hello");
    }
}
